package com.lihan.GetSeatInLib.Repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import com.lihan.GetSeatInLib.Domain.LibTable;

@Repository
public interface LibTableRepository extends JpaRepository<LibTable, Long>{

	@Query("from LibTable where TableIndex = ?0")
	LibTable getTibTableByIndexName(String TableIndex);
	
}
